package cn.lili.modules.file.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.file.client.UploadClient;
import cn.lili.modules.file.entity.dto.FileUploadDTO;

/**
 * 上传Fallback
 */
public class UploadClientFallback implements UploadClient {
    @Override
    public String upload(FileUploadDTO fileUploadDTO) {
        throw new ServiceException();
    }

    @Override
    public String upload(String url) {
        throw new ServiceException();
    }
}
